﻿using System.Web.UI;
using System.Linq;

namespace AutoCompleteTextBox
{
    public class AutocompleteYQLDataSourceQueryString : Control
    {
        public string GetQueryString()
        {
            var queryString = Controls.OfType<LiteralControl>().FirstOrDefault();
            return queryString.Text;
        }
    }
}